<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="../../../../css/icon.css">
    <link rel="stylesheet" type="text/css" href="../../../../css/easyui.css">
    <script type="text/javascript" src="../../../../js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="../../../../js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../../../js/easyui-lang-zh_CN.js"></script>
    <style type="text/css">
        .font_stress{
            color: red;font-size: 13px;font-weight:bold;
        }
    </style>
    <script type="text/javascript">
        var datagrid;
        $(function() {
            datagrid=$('#datagrid').datagrid({
                onClickRow:function(rowIndex){
                    var rows = datagrid.datagrid('getRows');
                    for ( var i = 0; i < rows.length; i++) {
                        datagrid.datagrid('endEdit', i);
                    }
                    datagrid.datagrid('beginEdit', rowIndex);
                }
            });
        });
    </script>
</head>
<body class="easyui-layout">
<div data-options="region:'center'">
    <div class="datagrid-toolbar" style="height:410px">
        <table width="100%">
            <tr>
                <td>
                    供应商：<input id="supplier" type="text"/>
                </td>
                <td>
                    SupplierName供应商名称：<input type="text" disabled/>
                </td>
            </tr>
        </table>
        <hr width="450px"/>
        <table width="100%" id="datagrid" singleSelect="true">
            <thead>
            <tr>
                <th field="month" width="60">月份</th>
                <th field="amount" width="80" data-options="editor:{type:'numberbox',options:{min:0,precision:0}}">数量</th>
                <th field="comment" width="300" data-options="editor:{type:'text'}">评论</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>一月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>二月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>三月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>四月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>五月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>六月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>七月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>八月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>九月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>十月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>十一月</td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>十二月</td>
                <td></td>
                <td></td>
            </tr>
            </tbody>
        </table>
        <br />
        <div align="right">
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-save" onclick="">Save保存</a>
            <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-no" onclick="parent.operateDialog.dialog('close');">Close关闭</a>
        </div>
    </div>
</div>


</body>
</html>